<!doctype html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="../../../../../build/css/onsenui.css"/>
    <link rel="stylesheet" href="../../../../../build/css/onsen-css-components.css"/>

    <script src="../../../../../build/js/onsenui.js"></script>
    <script src="../../../node_modules/angular/angular.js"></script>
    <script src="../../../../../build/js/angular-onsenui.js"></script>
    <script>
      ons.bootstrap();
    </script>

  </head>
  <body>

    <ons-navigator var="navi" animation="default"
      animation="fade"
      animation-options="{delay: 1, duration: 1, timing: 'ease-in'}">
      <ons-page>
        <ons-toolbar>
          <div class="center">Navigator (default animation: 'fade')</div>
        </ons-toolbar>

        <ons-list>
          <ons-list-item modifier="chevron" ng-click="navi.pushPage('page.html')">
            push(default)
          </ons-list-item>

          <ons-list-item modifier="chevron" ng-click="navi.pushPage('page.html', {animation: 'slide'})">
            push(slide)
          </ons-list-item>

          <ons-list-item modifier="chevron" ng-click="navi.pushPage('page.html', {animation: 'lift'})">
            push(lift)
          </ons-list-item>

          <ons-list-item modifier="chevron" ng-click="navi.pushPage('page.html', {animation: 'fade'})">
            push(fade)
          </ons-list-item>

          <ons-list-item modifier="chevron" ng-click="navi.pushPage('page.html', {animation: 'none'})">
            push(none)
          </ons-list-item>
        </ons-list>
      </ons-page>
    </ons-navigator>

    <script type="text/ons-template" id="page.html">
      <ons-list>
        <ons-list-item modifier="chevron" ng-click="navi.popPage()">
          pop
        </ons-list-item>
      </ons-list>
    </script>
  </body>
</html>
